//路由配置文件
import { createRouter, createWebHashHistory } from "vue-router";
import index1 from "../views/index";
//创建路由管理对象
const router=createRouter({
  history:createWebHashHistory(),
  routes:[
    {
      path:"/",
      redirect:{
        name:"index1"
      }
    },
    {
      path:"/index1",
      component:index1,
      name:"index1", 
    }
    ]
    }
)

;

export default router;